package org.jeecg.modules.chvegetable.nyncApi.service.impl;

import lombok.extern.slf4j.Slf4j;
import org.jeecg.modules.chvegetable.nyncApi.entity.Address;
import org.jeecg.modules.chvegetable.nyncApi.entity.Nync;
import org.jeecg.modules.chvegetable.nyncApi.entity.OrderNumber;
import org.jeecg.modules.chvegetable.nyncApi.entity.Sales;
import org.jeecg.modules.chvegetable.nyncApi.mapper.NyncMapper;
import org.jeecg.modules.chvegetable.nyncApi.service.INyncService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Description: 农业农村厅接口
 * @Author: drt
 * @Date: 2023-04-21
 * @Version: V1.0
 */
@Service
@Slf4j
public class NyncServiceImpl implements INyncService {
    @Autowired
    NyncMapper nyncMapper;

    @Override
    public List<OrderNumber> getInNumber() {
        List<OrderNumber> list = nyncMapper.getInNumber();
        return list;
    }
    @Override
    public List<OrderNumber> getOutNumber() {
        List<OrderNumber> list = nyncMapper.getOutNumber();
        return list;
    }
    @Override
    public List<Sales> getOrderSales() {
        List<Sales> list = nyncMapper.getOrderSales();
        return list;
    }
    @Override
    public List<Address> getOrderAddress() {
        List<Address> list = nyncMapper.getOrderAddress();
        return list;
    }
}
